<!DOCTYPE html>
<html style="overflow: hidden;">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>详细资料</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="__PUBLIC__/Theme1/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__PUBLIC__/Theme1/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="__PUBLIC__/Theme1/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="__PUBLIC__/Theme1/css/animate.min.css" rel="stylesheet">
    <link href="__PUBLIC__/Theme1/css/style.min.css?v=4.1.0" rel="stylesheet">
    <link href="__PUBLIC__/Theme1/css/bootstrapValidator.css" rel="stylesheet">
    <link href="__PUBLIC__/Theme1/static/plupload/upfiless.css" rel="stylesheet" type="text/css" />

    <style>
        .btj,
        .btj1,
        .btj2,
        .btj3 {
            font-size: 14px;
            color: inherit;
            display: block;
            /*padding: 6px 12px;*/
            padding: 0;
            width: 32px;
            height: 32px;
            text-align: center;
            border: 0;
            position: absolute;
            right: 15px;
            top: 0
        }
        
        @media screen and (max-width:640px) {
            .btj,
            .btj1,
            .btj2,
            .btj3 {
                font-size: 14px;
                color: inherit;
                display: block;
                text-align: center;
                padding: 0;
                width: 32px;
                height: 32px;
                border: 0;
                position: absolute;
                top: -10px
            }
        }
        
        .p1 {
            font-size: 14px;
            color: inherit;
            display: inline-block;
            padding: 6px 12px;
        }
        
        .p0 {
            padding: 0
        }
        
        .fam,
        .edus,
        .worker {
            position: relative;
        }
        
        .mb3 {
            margin-bottom: 3px
        }
        
        .pl0 {
            padding-left: 0;
        }
        
        .dn {
            display: none;
        }
        
        .db {
            display: block;
        }
        
        #layui-laydate1 {
            top: 30% !important;
        }
        
        #layui-laydate2 {
            top: 30% !important;
        }
        .impicon{
            width: 16px;
            height: 16px;
            background: url(/Public/Theme1/images/btxx.png)no-repeat center;
            background-position-y: 3px;
            background-size: 90%;
            display: inline-block;
        }
    </style>
</head>

<body class="gray-bg" style="-webkit-overflow-scrolling:touch">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title" id="toolbar">
                        <h5>
                            <a style="color:#3390cd" class="tab1"> 填写基本资料 </a>
                            <!--<a style="color:#c8c9c9; margin-left:25px;" class="tab1">详细资料</a>
							<a style="color:#c8c9c9; margin-left:25px;" class="tab1">相关附件</a>-->
                        </h5>

                    </div>

                    <div class="ibox-content" id="scroller">
                        <form method="post" action="__URL__/add_action" id="formverification" class="form-horizontal" enctype="multipart/form-data">
                            <div class="tabcart" id="home-pane" style="display: block;">
                                <div class="form-group">
                                    <label class="col-sm-1 control-label" for="hrName"><span class="impicon"></span>姓名</label>
                                    <div class="col-sm-6">
                                        <input type="text" class="form-control" name="hrName" id="hrName" placeholder="请输入姓名" required>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label" for="hrSex"><span class="impicon"></span>性别</label>

                                    <div class="col-sm-6">
                                        <label class="checkbox-inline"> <input type="radio" value="1"
										name="hrSex" > 男
									</label>
                                        <label class="checkbox-inline"> <input type="radio"
										value="2" name="hrSex" > 女
									</label>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label" for="hrDegress"><span class="impicon"></span>学历</label>
                                    <div class="col-sm-6">
                                        <select class="chosen-select form-control" size="1" name="hrDegrees" id="hrDegrees" required>
										<foreach name="xueli" item="valxueli" key="xuelik">
										
										<option><{$valxueli}></option>
										

										</foreach>
									</select>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>出生日期</label>

                                    <div class="col-sm-4">
                                        <input type="text" name="hrBirthdate" id="hrBirthdate" class="form-control" placeholder="点击选择" required>
                                    </div>

                                </div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>联系电话</label>
                                    <div class="col-sm-6">
                                        <input type="tel" name="hrTel" id="hrTel" placeholder="请输入联系电话" class="form-control" required>
                                        <sapn id="CheckResult" style="color:red"></sapn>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>身高</label>
                                    <div class="col-sm-6">
                                        <input type="text" name="hrHeight" id="hrHeight" placeholder="请输入身高，单位CM" class="form-control" required>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>民族</label>
                                    <div class="col-sm-6">
                                        <input type="text" name="hrMultiracial" id="hrMultiracial" placeholder="请输入民族" class="form-control" required>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>籍贯</label>
                                    <div class="col-sm-6">
                                        <input type="text" name="hrNativePlace" id="hrNativePlace" placeholder="请输入籍贯" class="form-control" required>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>应聘岗位</label>
                                    <div class="col-sm-6">
                                        <input type="text" name="hrPosition" id="hrPosition" placeholder="请输入应聘岗位" value="" class="form-control" required>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>婚否</label>
                                    <div class="col-sm-6">
                                        <select class="chosen-select form-control" size="1" name="hrIsMarriage" id="" required>
								<option value="1" >已婚</option>
								<option value="0" >未婚</option>
								
								</select>
                                    </div>
                                </div>


                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>期望薪资</label>
                                    <div class="col-sm-6">
                                        <input type="number" maxlength="5" name="hrSalary" id="hrSalary" placeholder="必填内容" class="form-control" required />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>到岗日期</label>
                                    <div class="col-sm-6">
                                        <input type="text" name="hrEntryDate" id="hrEntryDate" class="form-control" placeholder="点击选择" required>
                                    </div>

                                </div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>现住址</label>
                                    <div class="col-sm-6">
                                        <input type="text" class="form-control" name="hrCity" id="hrCity" placeholder="请输入省/市/县" required />
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>邮箱</label>
                                    <div class="col-sm-6">
                                        <input type="email" name="hrEmail" id="hrEmail" placeholder="以@为分隔，如：888888@qq.com" class="form-control" required />
                                    </div>
                                </div>

                            </div>

                            <div class="tabcart" id="home2-pane">
                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>体重</label>
                                    <div class="col-sm-6">
                                        <input type="text" name="hrWeight" id="hrWeight" placeholder="请输入体重,单位KG" class="form-control">
                                    </div>
                                </div>


                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>身份证号码</label>
                                    <div class="col-sm-6">
                                        <input type="text" name="hrIDCard" id="hrIDCard" placeholder="请输入身份证号码" class="form-control">
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>政治面貌</label>
                                    <div class="col-sm-6">
                                        <input type="text" name="hrPoliticalIandscape" id="hrPoliticalIandscape" placeholder="请输入政治面貌，比如团员" class="form-control">
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>工作地区</label>
                                    <div class="col-sm-6">
                                        <select name="hrWorkArea" id="hrWorkArea" class="form-control">
									<option>请选择</option>
									<option value="广州" >广州</option>
									<option value="中山" >中山</option>
									<option value="武汉" >武汉</option>
									<option value="成都" >成都</option>
									<option value="郑州" >郑州</option>
									<option value="唐山" >唐山</option>
								</select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>应聘渠道</label>
                                    <div class="col-sm-3">
                                        <select name="hrRecruitment" id="sel_channel" class="form-control" onchange="showText('sel_channel','ss_text','sale_other','hrRecruitment')">
									<option>请选择</option>
									<option value="0" >智联招聘</option>
									<option value="1" >前程无忧</option>
									<option value="2" >58同城</option>
									<option value="3" >boss直聘</option>
									<option value="4" >赶集网</option>
									<option class="newEnt" >内部推荐</option>
									<option class="newEnt">其他</option>
								</select>
                                    </div>

                                    <div class="col-sm-3 ss_text" style="display: none;" id="ypbox">
                                        <span class="sale_other" id="ypqdother">
										
									</span>
                                    </div>

                                </div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label">专业技能</label>
                                    <div class="col-sm-6">
                                        <div class="col-sm-12 mb3 p0">
                                            <div class="col-sm-2 pl0"><span class="form-control p0" style="border: 0;line-height: 34px;">语言技能</span></div>
                                            <div class="col-sm-6 p0">

                                                <input type="text" name="hrLanguage" id="hrLanguage" class="form-control" placeholder="如：英语，日语，韩语" />
                                            </div>

                                        </div>
                                        <div class="col-sm-12 mb3 p0">
                                            <div class="col-sm-2 p0"><span class="form-control p0" style="border: 0;line-height: 34px;">是否有驾照</span></div>
                                            <div class="col-sm-6 p0">

                                                <input type="text" name="hrLicense" id="sel_driver" class="form-control" placeholder="驾照类型" />
                                            </div>

                                        </div>
                                        <div class="col-sm-12 mb3 p0">
                                            <div class="col-sm-2 p0"><span class="form-control p0" style="border: 0;line-height: 34px;">技能证书</span></div>
                                            <div class="col-sm-6 p0">

                                                <input type="text" name="hrSkillCertificate" id="hrSkillCertificate" class="form-control" placeholder="证书名称" />
                                            </div>

                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label">掌握技能</label>
                                    <div class="col-sm-6">
                                        <input type="text" class="input-text form-control" id="hrJineng" name="hrJineng" placeholder="列举你擅长的技能，比如会开车，写程序" rows="1">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>紧急联系人</label>
                                    <div class="col-sm-6">
                                        <div class="col-sm-12 p0">
                                            <input type="text" name="hrContactName" placeholder="姓名" class="form-control mb3" />
                                            <input type="text" name="hrContactRelationship" placeholder="关系" class="form-control mb3" />
                                            <input type="text" name="hrContactTel" placeholder="联系方式" class="form-control mb3" />
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>家庭情况</label>
                                    <div class="col-sm-6 fam">
                                        <div class="section col-md-11 p0">
                                            <div class="col-sm-1 p1 pl0">Part1</div>
                                            <div id="input_box" class="col-sm-11 p0">
                                                <input type="text" name="hrFamilyMember" placeholder="姓名" class="form-control mb3" />
                                                <input type="text" name="hrFamilyRelationship" placeholder="关系" class="form-control mb3" />
                                                <input type="text" name="hrFamilyUnit" placeholder="工作单位" class="form-control mb3" />
                                                <input type="text" name="hrFamilyCareer" placeholder="职业" class="form-control mb3" />
                                                <input type="text" name="hrFamilyTel" placeholder="联系方式" class="form-control mb3" />
                                            </div>
                                        </div>

                                        <input type="button" value="+" onclick="add_input('input_box','btj1',5,'section','fam')" class="btj1 col-sm-1" />

                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label"><span class="impicon"></span>教育背景</label>
                                    <div class="col-sm-6 edus">
                                        <div class="sedus col-md-11 p0">
                                            <div class="col-sm-1 p1 pl0">Part1</div>
                                            <div id="input_tbox" class="col-sm-11 p0">
                                                <input id='zzpd' type="text" name="hrEduDate" placeholder="起止年月,如：2018.01.01-2019.01.01" class="form-control col-xs-12 mb3" onclick="" />
                                                <input type="text" name="hrEduSchool" placeholder="学校" class="form-control col-xs-12 mb3" />
                                                <input type="text" name="hrEduProfession" placeholder="专业" class="form-control col-xs-12 mb3" />
                                                <input type="text" name="hrEduEducation" placeholder="学历" class="form-control col-xs-12 mb3" />
                                                <input type="text" name="hrEduCertificate" placeholder="所获证书" class="form-control col-xs-12 mb3" />
                                            </div>
                                        </div>

                                        <input type="button" value="+" onclick="add_input( 'input_tbox', 'btj',5, 'sedus', 'edus')" class="btj col-sm-1" />

                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label">培训经历</label>
                                    <div class="col-sm-6 pxjl">
                                        <div class="pxedus col-md-11 p0">
                                            <div class="col-sm-1 p1 pl0">Part1</div>
                                            <div id="input_fbox" class="col-sm-11 p0">
                                                <input type="text" name="hrTrainingDate" placeholder="起止年月,如：2018.01.01-2019.01.01" class="form-control col-xs-12 mb3" />
                                                <input type="text" name="hrTrainingMechanism" placeholder="培训机构/老师" class="form-control col-xs-12 mb3" />
                                                <input type="text" name="hrTrainingCourse" placeholder="课程名称" class="form-control col-xs-12 mb3" />
                                                <input type="text" name="hrTrainingCertificate" placeholder="所获证书" class="form-control col-xs-12 mb3" />
                                            </div>
                                        </div>
                                        <input type="button" value="+" onclick="add_input( 'input_fbox', 'btj3',4, 'pxedus', 'pxjl')" class="btj3 col-sm-1" />

                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label">工作经历</label>
                                    <div class="col-sm-6 worker">
                                        <div class="swork col-md-11 p0">
                                            <div class="col-sm-1 p1 pl0">Part1</div>
                                            <div id="input_sbox" class="col-sm-11 p0">
                                                <input type="text" name="hrWorksDate" placeholder="起止年月,如：2018.01.01-2019.01.01" class="form-control mb3" />
                                                <input type="text" name="hrWorksUnit" placeholder="工作单位" class="form-control mb3" />
                                                <input type="text" name="hrWorksPosition" placeholder="职位" class="form-control mb3" />
                                                <input type="text" name="hrWorksSalary" placeholder="薪资" class="form-control mb3" />
                                                <input type="text" name="hrWorksReason" placeholder="离职原因" class="form-control mb3" />
                                                <input type="text" name="hrWorksWitness" placeholder="证明人/联系方式" class="form-control mb3" />

                                            </div>
                                        </div>

                                        <input type="button" value="+" onclick="add_input( 'input_sbox', 'btj2',6, 'swork', 'worker')" class="btj2 col-sm-1" />
                                    </div>
                                </div>

                            </div>

                            <div class="tabcart" id="home3-pane">
                                <div class="form-group">
                                    <label class="col-sm-1 control-label" style="margin-top: 20px;">个人形象照片</label>
                                    <div class="col-sm-7">
                                        <dl id="ul_pics" class="ul_pics clearfix">
                                            <if condition="$rs_hrreserve.hrPhoto neq null">
                                                <img src="__ROOT__/<{$rs_hrreserve.hrPhoto}>" width="100" height="100" style="margin-bottom: 5px;">
                                            </if>
                                        </dl>
                                        <a class="upimgs col-sm-2" id="btn" style="background-color: #067fcb; width: 100px; margin-top: 2px;">浏览照片</a>
                                        <input class="form-control upload-url" name="hrPhoto" placeholder="如果已经存在图片路径，请您清空后再上传" id="pPic" style="width: 88%; margin-left: 5px; margin-right: 5px;">
                                    </div>

                                </div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label" style="margin-top: 20px;">身份证附件</label>
                                    <div class="col-sm-7">
                                        <dl id="ul_stShenfenzhengImages" class="ul_pics clearfix">

                                            <if condition="$rs_hrreserve.hrShenfenzhengImages neq null">
                                                <img src="__ROOT__/<{$rs_hrreserve.hrShenfenzhengImages}>" width="100" height="100" style="margin-bottom: 5px; margin-right: 5px;"> </if>

                                        </dl>
                                        <a class="upimgs col-sm-2" id="btnimg" style="background-color: #cf4ef4; width: 100px;">浏览图片</a>
                                        <input class="upload-url form-control" name="hrShenfenzhengImages" placeholder="如果已经存在图片路径，请您清空后再上传" id="stShenfenzhengImages" style="width: 88%; margin-left: 5px; margin-right: 5px;">
                                    </div>
                                </div>
                                <div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <div class="col-sm-2 col-sm-offset-2">
                                            <!--<a class="btn btn-primary tb"  style="margin-left:15px;"  onclick="tprev()">上一步</a>-->
                                            <button class="btn btn-primary" type="submit" style="margin-left:15px;" id="updata">保 存</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="__PUBLIC__/Theme1/js/jquery.min.js?v=2.1.4"></script>
    <script src="__PUBLIC__/Theme1/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="__PUBLIC__/Theme1/js/content.min.js?v=1.0.0"></script>
    <script src="__PUBLIC__/Theme1/js/bootstrapValidator.js"></script>
    <script src="__PUBLIC__/Theme1/js/addmain.js"></script>
    <script src="__PUBLIC__/Theme1/js/plugins/iCheck/icheck.min.js"></script>

    <script src="__PUBLIC__/Theme1/js/plugins/laydate/laydate.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Theme1/static/plupload/plupload.full.min.js"></script>
    <script>
        lay('#version').html('-v' + laydate.v);
        laydate.render({
            elem: '#hrBirthdate', //指定元素
            done: function(value, date, endDate) {
                $("#hrBirthdate").val(value).change();
            }
        });

        laydate.render({
            elem: '#hrEntryDate', //指定元素
            done: function(value, date, endDate) {
                $("#hrEntryDate").val(value).change();
            }
        });
        $(document).ready(function() {
            $(".i-checks").iCheck({
                checkboxClass: "icheckbox_square-green",
                radioClass: "iradio_square-green",
            })
        });



        window.onresize = function() {
            laydate.reset();
        }
    </script>
    <script>
        //个人形象照片
        var uploader = new plupload.Uploader({
            runtimes: 'html5,flash,silverlight,html4', //上传插件初始化选用那种方式的优先级顺序
            browse_button: 'btn', // 上传按钮
            url: "__URL__/up", //远程上传地址
            flash_swf_url: '__PUBLIC__/plupload/Moxie.swf', //flash文件地址
            silverlight_xap_url: '__PUBLIC__/plupload/Moxie.xap', //silverlight文件地址
            filters: {
                max_file_size: '5mb', //最大上传文件大小（格式100b, 10kb, 10mb, 1gb）
                mime_types: [ //允许文件上传类型
                    {
                        title: "files",
                        extensions: "jpg,png,gif,jpeg"
                    }
                ]
            },
            multi_selection: true, //true:ctrl多文件上传, false 单文件上传
            init: {
                FilesAdded: function(up, files) { //文件上传前
                    if ($("#ul_pics").children("li").length > 7) {
                        alert("您上传的图片太多了！");
                        uploader.destroy();
                    } else {
                        var dd = '';
                        plupload.each(files, function(file) { //遍历文件
                            dd += "<dd id='" + file['id'] + "'><div class='progress'><span class='bar'></span><span class='percent'>0%</span></div></dd>";
                        });
                        $("#ul_pics").append(dd);
                        uploader.start();
                    }
                },
                UploadProgress: function(up, file) { //上传中，显示进度条
                    var percent = file.percent;
                    $("#ul_pics" + file.id).find('.bar').css({
                        "width": percent + "%"
                    });
                    $("#ul_pics" + file.id).find(".percent").text(percent + "%");
                },
                FileUploaded: function(up, file, info) { //文件上传成功的时候触发
                    var data = eval("(" + info.response + ")");
                    $("#" + file.id).html("<img src='__ROOT__/" + data.pic + "'/>");
                    var old = $("#pPic").val();
                    $("#pPic").val(old + data.pic + ' ');
                },
                Error: function(up, err) { //上传出错的时候触发
                    alert(err.message);
                }
            }
        });
        uploader.init();
    </script>
    <script>
        //身份证附件
        var pimguploader = new plupload.Uploader(

            {
                runtimes: 'html5,flash,silverlight,html4', //上传插件初始化选用那种方式的优先级顺序
                browse_button: 'btnimg', // 上传按钮
                url: "__URL__/upsfz", //远程上传地址
                flash_swf_url: '__PUBLIC__/plupload/Moxie.swf', //flash文件地址
                silverlight_xap_url: '__PUBLIC__/plupload/Moxie.xap', //silverlight文件地址
                filters: {
                    max_file_size: '5mb', //最大上传文件大小（格式100b, 10kb, 10mb, 1gb）
                    mime_types: [ //允许文件上传类型
                        {
                            title: "files",
                            extensions: "jpg,png,gif,jpeg"
                        }
                    ]
                },
                multi_selection: false, //true:ctrl多文件上传, false 单文件上传
                init: {
                    FilesAdded: function(up, files) { //文件上传前
                        if ($("#ul_stShenfenzhengImages").children("li").length > 7) {
                            alert("您上传的图片太多了！");
                            pimguploader.destroy();
                        } else {
                            var dd = '';
                            plupload.each(files, function(file) { //遍历文件
                                dd += "<dd id='" + file['id'] + "'><div class='progress'><span class='bar'></span><span class='percent'>0%</span></div></dd>";
                            });
                            $("#ul_stShenfenzhengImages").append(dd);
                            pimguploader.start();
                        }
                    },
                    UploadProgress: function(up, file) { //上传中，显示进度条
                        var percent = file.percent;
                        $("#" + file.id).find('.bar').css({
                            "width": percent + "%"
                        });
                        $("#" + file.id).find(".percent").text(percent + "%");
                    },
                    FileUploaded: function(up, file, info) { //文件上传成功的时候触发
                        var data = eval("(" + info.response + ")");
                        $("#" + file.id).html("<img src='__ROOT__/" + data.pic + "'/>");
                        var old = $("#stShenfenzhengImages").val();
                        $("#stShenfenzhengImages").val(old + data.pic + ' ');
                    },
                    Error: function(up, err) { //上传出错的时候触发
                        alert(err.message);
                    }
                }
            });
        pimguploader.init();
    </script>

    <script>
        $(document).ready(function() {
            $(".i-checks").iCheck({
                checkboxClass: "icheckbox_square-green",
                radioClass: "iradio_square-green",
            })


            //验证手机号码是否存在
            $("#hrTel").blur(function() {
                var hrTel = $(this).val();
                $.post("<{:U('Index/verifyTel')}>", {
                        hrTel: hrTel
                    },
                    function(data) {
                        if (data.valid == 1) {
                            $("#CheckResult").html("该号码已存在！");
                            $('#DataInputSubmit').css('display', 'none');
                        } else {
                            $("#CheckResult").html("");
                            $('#DataInputSubmit').css('display', 'block');
                        }
                    });
            });
        });
    </script>


</body>

</html>